import {Component, OnInit, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'app-header',
  templateUrl: './header.component.html',
  styleUrls: ['./header.component.scss'],
  encapsulation: ViewEncapsulation.None,
})
export class HeaderComponent implements OnInit {
  data: any[] = [
    {
      value: 'huangjingao',
      label: '黄金糕',
    },
    {
      value: 'shizitou',
      label: '狮子头',
    },
    {
      value: 'luosifen',
      label: '螺蛳粉',
    },
  ];
  constructor() {}

  ngOnInit(): void {}

  public handle(event: Event): void {
    console.log(event);
  }
}
